package tool

import java.io.File

import play.api.mvc.{Request, WrappedRequest}

/**
 * Created by yz on 9/5/2020
 */
object Pojo {

  case class CommandData(workspace: File, command: List[String])

  object CommandData {

    def apply(workspace: File, command: String) = {
      new CommandData(workspace, List(command))
    }

  }

  case class MissionDirData(workspaceDir: File, resultDir: File, logFile: File)

  case class MyMessage(valid: Boolean, message: String)

  class UserRequest[A](request: Request[A]) extends WrappedRequest[A](request)

  case class ExpressPatternData(sampleNameStr: String, method: String, cMethod: String, pTree: String, kTree: String,
                                k: String, sampleDist: String, sampleCluster: String)

  case class GeneIdStrData(geneIdStr: String)

}
